<?php
/* @var $this ExtraController */
/* @var $model Extra */
/* @var $form bootstrap.widgets.TbActiveForm */
?>


<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<?php echo $form->textFieldRow($model,'id',array('class'=>'span3')); ?>

		<?php echo $form->textFieldRow($model,'name',array('class'=>'span3','maxlength'=>255)); ?>

		<?php echo $form->textFieldRow($model,'slug',array('class'=>'span3','maxlength'=>255)); ?>

		<?php echo $form->textFieldRow($model,'order',array('class'=>'span3','maxlength'=>255)); ?>

	<?php echo $form->dropDownListRow($model,'imageId',$model->getImageOptions()); ?>

	<?php echo $form->dropDownListRow($model,'pageId',$model->getPageOptions()); ?>

	<div class="form-actions">
		<?php $this->widget('bootstrap.widgets.TbButton', array(
		    'buttonType'=>'submit',
			'type'=>'primary',
			'label'=>'Search',
		)); ?>
	</div>

<?php $this->endWidget(); ?>

